<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>产品月销量统计表</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .container {
            width: 100%;
            max-width: 800px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
            color: white;
            padding: 25px 30px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 26px;
            margin-bottom: 8px;
            letter-spacing: 1px;
        }
        
        .header p {
            font-size: 16px;
            opacity: 0.9;
        }
        
        .table-container {
            padding: 25px;
            overflow-x: auto;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 16px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        th {
            background-color: #f8f9fa;
            padding: 16px 15px;
            text-align: left;
            font-weight: 600;
            color: #2c3e50;
            border-bottom: 2px solid #e1e5eb;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 15px;
        }
        
        td {
            padding: 14px 15px;
            border-bottom: 1px solid #e1e5eb;
            color: #495057;
        }
        
        tr:last-child td {
            border-bottom: none;
            font-weight: bold;
            background-color: #f1f8ff;
            color: #2c3e50;
        }
        
        tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        
        tr:hover {
            background-color: #e3f2fd;
            transition: background-color 0.3s;
        }
        
        .id-column {
            font-weight: 500;
            color: #3498db;
        }
        
        .sales-column {
            text-align: right;
            font-weight: 500;
            color: #27ae60;
        }
        
        .total-row {
            font-size: 17px;
        }
        
        .total-label {
            text-align: right;
            padding-right: 20px;
            color: #2c3e50;
        }
        
        .footer {
            padding: 15px 25px;
            text-align: center;
            background-color: #f8f9fa;
            color: #6c757d;
            font-size: 14px;
            border-top: 1px solid #e1e5eb;
        }
        
        @media (max-width: 600px) {
            th, td {
                padding: 12px 10px;
                font-size: 14px;
            }
            
            .header h1 {
                font-size: 22px;
            }
            
            .header p {
                font-size: 14px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>产品月销量统计</h1>
            <p>2021年9月份产品销量数据</p>
        </div>
        
        <div class="table-container">
            <table>
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>产品名称</th>
                        <th class="sales-column">销量</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="id-column">2021090901</td>
                        <td>马克杯</td>
                        <td class="sales-column">5,000</td>
                    </tr>
                    <tr>
                        <td class="id-column">2021090902</td>
                        <td>啤酒杯</td>
                        <td class="sales-column">5,200</td>
                    </tr>
                    <tr>
                        <td class="id-column">2021090903</td>
                        <td>搪瓷杯</td>
                        <td class="sales-column">3,500</td>
                    </tr>
                    <tr class="total-row">
                        <td colspan="2" class="total-label">合计</td>
                        <td class="sales-column">13,700</td>
                    </tr>
                </tbody>
            </table>
        </div>
        
        <div class="footer">
            <p>数据更新时间: 2025年11月3日</p>
        </div>
    </div>
</body>
</html>